<!DOCTYPE html>
<html lang="en" scroll="no">

<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>MarkdownPad 文档模板</title>

    <!-- Bootstrap Core CSS -->
    <link href="./vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    	
    <!-- MetisMenu CSS -->
    <link href="../vendor/metisMenu/metisMenu.min.css" rel="stylesheet">

    <!-- Custom CSS -->
    <link href="./css/sb-admin-2.min.css" rel="stylesheet">

    <!-- Custom Fonts -->
    <link href="./vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
    	
    <link href="./css/style.css" rel="stylesheet" type="text/css">

</head>

<body>

    <div class="body-main" id="wrapper">

        <!-- Navigation -->
        <nav class="navbar navbar-default navbar-static-top" role="navigation" style="margin-bottom: 0">
            <div class="navbar-header">
            	<!--云端API客户端APP接口文档-->
                <a class="navbar-brand" href="index.html">The Django Book 2.0中文版</a>
            </div>
            
            <ul class="nav navbar-top-links navbar-right" style="display: none;">
                <li class="dropdown">
                    <a class="dropdown-toggle" data-toggle="dropdown" href="#" title="设置">
                        <i class="fa fa-gear fa-fw"></i> <i class="fa fa-caret-down"></i>
                    </a>
                    <ul class="dropdown-menu dropdown-user">
                        <li><a @click="setSkin(0)" href="javascript:void(0);"><i class="fa fa-sun-o fa-fw"></i> 默认</a></li>
                        <li><a @click="setSkin(1)" href="javascript:void(0);"><i class="fa fa-eye fa-fw"></i> 护眼</a></li>
                        <li><a @click="setSkin(2)" href="javascript:void(0);"><i class="fa fa-moon-o fa-fw"></i> 夜间</a></li>
                    </ul>
                    <!-- /.dropdown-user -->
                </li>
                <!-- /.dropdown -->
            </ul>
            <!-- /.navbar-top-links -->

            <div class="navbar-default sidebar" role="navigation">
                <div class="sidebar-nav navbar-collapse">
                    <ul class="nav menu" id="side-menu">
                        <li class="sidebar-search" style="display: none;">
                            <div class="input-group custom-search-form">
                                <input type="text" class="form-control" placeholder="输入关键字搜索...">
                                <span class="input-group-btn">
                                    <button class="btn btn-default" type="button">
                                        <i class="fa fa-search"></i>
                                    </button>
                                </span>
                            </div>
                            <!-- /input-group -->
                        </li>
                        
                        <li v-for="item in menu">
                            <a v-if="item.child_list" href="javascript:void(0);"><i class="fa fa-book fa-fw"></i> {{item.title}}<span class="fa arrow"></span></a>
                            <a v-else :href="item.url" target="main"><i class="fa fa-file-text fa-fw"></i> {{item.title}}</a>
                            <ul v-if="item.child_list" class="nav nav-second-level">
                                <li v-for="child in item.child_list">
                                    <a v-if="child.child_list" href="javascript:void(0);"><i class="fa fa-book fa-fw"></i> {{child.title}}<span class="fa arrow"></span></a>
                                    <a v-else :href="child.url" target="main"><i class="fa fa-file-text fa-fw"></i> {{child.title}}</a>
                                    <ul v-if="child.child_list" class="nav nav-third-level">
                                        <li v-for="child_2 in child.child_list">
                                            <a :href="child_2.url" target="main"><i class="fa fa-file-text fa-fw"></i> {{child_2.title}}</a>
                                        </li>
                                    </ul>
                                </li>
                            </ul>
                            <!-- /.nav-second-level -->
                        </li>
                        
                        <li>
                            <router-link to="/foo">Go to Foo</router-link>
    						
                        </li>
                        <li>
                            <router-link to="/bar">Go to Bar</router-link>
                        </li>
                        
                    </ul>
                </div>
                <!-- /.sidebar-collapse -->
            </div>
            <!-- /.navbar-static-side -->
        </nav>

        <div class="main" id="page-wrapper">
        	<router-view></router-view>
            <iframe name="main" src="./main.html"></iframe>
        </div>
        <!-- /#page-wrapper -->

    </div>
    <!-- /#wrapper -->

    <!-- jQuery -->
    <script src="./vendor/jquery/jquery.min.js"></script>

    <!-- Bootstrap Core JavaScript -->
    <script src="./vendor/bootstrap/js/bootstrap.min.js"></script>

    <!-- Metis Menu Plugin JavaScript -->
    <script src="./vendor/metisMenu/metisMenu.min.js"></script>

    <!-- Custom Theme JavaScript -->
    <script src="./js/sb-admin-2.min.js"></script>
    
    <script src="./js/vue-2.3.2.js"></script>
    <script src="./js/vue-router.js"></script>

	<script src="./js/common.js"></script>
</body>

</html>
